<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--favicon-->
    <link rel="icon" href="data:image/png;base64,{{ object.company.favicon.decode('utf-8')}}" type="image/png"/>
    <!-- Bootstrap CSS -->
    <link href="/web/static/templates/login/zh_CN/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="/web/static/templates/login/zh_CN/assets/css/app.css" rel="stylesheet">
    <link href="/web/static/templates/login/zh_CN/assets/css/icons.css" rel="stylesheet">
    <title>DTCloud PassWord</title>
</head>

<body class="bg-login">
<!--wrapper-->
<div class="wrapper">
    <div class="section-authentication-signin d-flex align-items-center justify-content-center my-5 my-lg-0">
        <div class="container-fluid">
            <div class="row row-cols-1 row-cols-lg-2 row-cols-xl-3">
                <div class="col mx-auto">
                    <div class="mb-4 text-center">
                        <img src="/web/binary/company_logo?dbname={{object.session_db}}"
                             style="width:200px;height:80px;margin-top: -28px;"/>

                    </div>
                    <div class="card">
                        <div class="card-body">
                            <div class="border p-4 rounded">
                                <div class="form-body">
                                    {% if object.error %}
                                    {{ object.error }}
                                    {% else %}

                                    {% if object.message %}
                                    {{ object.message }}
                                    {% else %}
                                    <form class="row g-3" action="/web/reset_password" id="form_key"
                                          data-module="smsFrom"
                                          method="post">
                                        <div class="col-12">
                                            <label for="login" class="form-label">帐号</label>
                                            <input type="text" class="form-control" id="login" name="login"
                                                   value="{{object.login}}"
                                                   placeholder="请输入帐号,或邮件地址!">
                                        </div>

                                        <div class="col-12">
                                            <div class="d-grid">
                                                <button type="submit" class="btn btn-primary"><i
                                                        class="bx bxs-lock-open"></i>确认
                                                </button>
                                                <input type="hidden" name="csrf_token" value="{{object.csrf_token}}"/>
                                            </div>
                                        </div>
                                    </form>
                                    {% endif %}
                                    {% endif %}
                                </div>
                                <div class="col-md-12" style="margin-top: 20px;">
                                    <div class="col-md-12 text-end"><a href="/web/login?">返回登陆
                                        ?</a>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!--end row-->
        </div>
    </div>
</div>
<!--end wrapper-->
</body>

</html>